package com.ssy.lingxi.member.merchant.api.constant;

/**
 * 会员注册资料字段类型枚举
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-12
 */
public enum MemberConfigFieldTypeEnum {
    /**
     * String输入框类型
     */
    STRING(1, "string"),

    /**
     * 数字输入框
     */
    LONG(2, "long"),

    /**
     * 文件上传类型
     */
    UPLOAD(3, "upload"),

    /**
     * 下拉单选框
     */
    SELECT(4, "select"),

    /**
     * 单选框
     */
    RADIO(5, "radio"),

    /**
     * 多选框
     */
    CHECKBOX(6, "checkbox"),

    /**
     * 省市区选择框
     */
    AREA(7, "area");

    MemberConfigFieldTypeEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    private Integer code;
    private String type;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
